package com.fzdy.product.controller.admin;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin")
public class AdminController {


    @RequestMapping(value = "/getMessage")
    public JSONObject getMessage() {
        JSONObject resobj=new JSONObject();
        resobj.put("statusCode",200);
        resobj.put("message","您拥有管理员权限，可以获得该接口的信息！");
        return resobj;
    }
}

